import Mock from 'mockjs'
import userAPI from './user'
import loginAPI from './login'

// 用户相关
Mock.mock(/\/user\/list/, 'get', userAPI.getList)

// 登录相关
Mock.mock(/\/login/, 'post', loginAPI.login)
Mock.mock(/\/logout/, 'post', loginAPI.logout)
Mock.mock(/\/user\/info\.*/, 'get', loginAPI.getUserInfo)

export default Mock
